package com.infore.siteManagement.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.infore.siteManagement.entity.ProjectType;
/**
 * 因子/指标类型仓库
 * @author 刘乐法
 *
 *
 */
@Repository
public interface IIndexTypeRespository extends JpaRepository<ProjectType, String>,JpaSpecificationExecutor<ProjectType>{

	@Modifying
	@Transactional
	int deleteByProjectTypeIdIn(List<String> idsList);
}
